package com.icetech.eom.service.tx;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.icetech.eom.domain.tx.Session;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2018-11-12
 */
public interface ISessionService extends IService<Session> {

    /**
     * 查询会话信息
     * @param searchKey
     * @param beginTime
     * @param endTime
     * @param page
     * @param pageSize
     * @return
     */
    PageInfo<Session> selectByPage(String searchKey, Date beginTime, Date endTime, Integer page, Integer pageSize);

    /**
     * 会话导出
     * @param searchKey
     * @return
     */
    Workbook exportExcel(String searchKey);
}
